body {
  background: url(../images/bg2.jpg) no-repeat;
  background-size: cover;
  position: relative; }

.con {
  width: 100%;
  max-width: 768px;
  margin: 30px auto;
  padding: 20px 0 20px 0;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  position: relative; }
  .con .btn_box {
    width: 100%;
    padding-top: 30px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around; }
    .con .btn_box .btn {
      width: 16vw;
      max-width: 100px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      border-radius: 5px;
      overflow: hidden;
      box-shadow: 1px 1px 1px 1px #fff;
      color: #fff;
      font-size: 14px; }
    .con .btn_box .again {
      background-color: #5dd473; }
    .con .btn_box .home {
      background-color: #e7ca63; }
    .con .btn_box .tips {
      background-color: #1c8fea; }
  .con .record_box {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    text-align: center;
    margin-top: 25px;
    font-size: 20px;
    color: #f2f2f2; }
  .con .game_box {
    position: relative;
    margin: 0 auto;
    margin-top: 20px; }
    .con .game_box .row {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-justify-content: space-around;
      -ms-flex-pack: distribute;
      justify-content: space-around;
      -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap; }
    .con .game_box .outbd {
      width: 14vw;
      max-width: 70px;
      height: 14vw;
      max-height: 70px;
      border-radius: 10px;
      overflow: hidden;
      position: absolute;
      -webkit-transition: all .5s;
      transition: all .5s; }
    .con .game_box .item {
      width: 100%;
      height: 100%;
      position: relative;
      -webkit-transition: all 0.5s;
      transition: all 0.5s;
      -webkit-transform-style: preserve-3d;
      transform-style: preserve-3d;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none; }
      .con .game_box .item .front {
        width: 100%;
        height: 100%;
        background-color: skyblue;
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
        position: absolute;
        top: 0;
        left: 0;
        z-index: 10; }
      .con .game_box .item .back {
        width: 100%;
        height: 100%;
        position: absolute;
        -webkit-transform: rotateY(180deg);
        transform: rotateY(180deg);
        top: 0;
        left: 0; }
        .con .game_box .item .back .back_img {
          width: 100%;
          height: 100%; }

.act {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg); }

.start_act {
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg); }

.disappear {
  -webkit-transform: rotateY(180deg) scale(0);
  transform: rotateY(180deg) scale(0); }

.hell_on {
  background: #e84a33; }

.mask {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 666;
  background-color: rgba(0, 0, 0, 0.8);
  display: none; }
  .mask .end {
    position: fixed;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center; }
    .mask .end h1 {
      color: #fff; }
    .mask .end h3 {
      color: #f2f2f2; }
    .mask .end .btn_box {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      margin-top: 30px;
      -webkit-justify-content: space-around;
      -ms-flex-pack: distribute;
      justify-content: space-around; }
      .mask .end .btn_box .btn {
        width: 40%;
        height: 40px;
        line-height: 40px;
        border-radius: 5px;
        overflow: hidden;
        background-color: #fff; }
        .mask .end .btn_box .btn:hover {
          background-color: skyblue;
          border: 1px solid skyblue;
          box-shadow: 2px 2px 2px skyblue;
          color: #fff;
          cursor: pointer; }
